<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Dialog</title>
	<link rel="stylesheet" type="text/css" media="all"  href="../../core/libraries.css" />
	<link rel="stylesheet" type="text/css" media="all" href="../../core/content.css" />
	<link rel="stylesheet" type="text/css" media="all" href="../../core/template/template.css" />
	<link rel="stylesheet" type="text/css" media="all" href="../../plugins/progressbar/progressbar.css" />
	<link rel="stylesheet" type="text/css" media="all" href="../../plugins/dialog/dialog.css" />
	<script type="text/javascript" src="../../../../libraries/mootools/mootools-1.2.5-core.js"></script>
	<script type="text/javascript" src="../../../js/yui/compressor/desktop/dialog.js"></script>
	<script type="text/javascript">
		window.addEvent("domready", function(){
			/*var d = new yui.compressor.desktop.Dialog({
				"title": "Dialog",
				"message": "Dialog message",
				"buttons": [
					{"name": "ok", "value": "OK", "click": function() {
					}},
					{"name": "cancel", "value": "Cancel", "click": function() {
					}}
				]
			});
			d.show();
*/

			var d2 = new yui.compressor.desktop.ProgressDialog({
				"title": "Dialog",
				"message": "Dialog message",
				"onCancel": function() {
alert("aaa");
				},
				"onOK": function() {
alert("aaa");
				}
			});
			d2.show();

		});
	</script>
</head>
<body>
	<h1>Dialog</h1>
	<div class="page gs960">
		<div class="main">
			<div class="progress-bar">
				<strong class="parsent-text">100% Complete</strong>
			</div>
<!--
			<div class="dialog">
				<div class="hd">
					<strong class="title">dialog</strong>
				</div>
				<div class="bd">
					<p class="message">dialog message</p>
					<p class="control"><input type="button" name="ok" value="OK" />&nbsp;<input type="button" name="cancel" value="cancel" /></p>
				</div>
			</div>
-->
		</div>
	</div>
</body>
</html>
